Release 10.1A: OpenEdge Development:
Programming Interfaces
Order of fetched records
The
FOREACHstatement,OPENQUERYstatement, andPRESELECToption may use multiple indexes to satisfy a query. When multiple indexes are used, the order of returned records is not guaranteed. You can enforce an order by using theBYoption.The following example returns the selected customer records in ascending credit–limit order and within credit limit in name order:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |